export interface ListInt {
	id: number
	nikeName: string
	userName: string
	role: RoleInt[]
}
export interface ActiveInt {
	id: number
	nikeName: string
	userName: string
	role: number[]
}

//
interface RoleInt {
	role: number
	roleName: string
}

// 每个用户的属性类型规范
interface SelectDataInt {
	nikeName: string
	role: number
}

// 角色列表类型的规范
interface RoleListInt {
	roleName: string
	roleId: number
	suthorty: number[]
}

export class InitData {
	selectData: SelectDataInt = {
		nikeName: '',
		role: 0
	}
	list: [ListInt][] = []
	listData: [ListInt][] = []
	roleList: RoleListInt[] = []
	active: ActiveInt = {
		id: 0,
		nikeName: '',
		userName: '',
		role: []
	}
	isShow = false
}
